package org.yoyo.classroom.mapper;

import org.apache.ibatis.annotations.*;
import org.yoyo.classroom.domain.po.Role;

import java.util.List;

/**
 * 角色Mapper接口
 */
@Mapper
public interface RoleMapper {


    List<Role> selectAllRoles();

    Role selectRoleById(Long id);

    int insertRole(Role role);

    int updateRole(Role role);

    int deleteRoleById(Long id);
}
